Skip to content

Issue #10688 add Jetty 12.0.x ee8 osgi #10711

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 33 commits into from
Oct 27, 2023
Merged

Conversation

olamy
Copy link
Member

@olamy olamy commented Oct 12, 2023

issue #10688

@olamy olamy requested a review from janbartel October 12, 2023 03:13
@claesrosell
Copy link

I am playing with this now and I found this problem so far:
The Bundle-Activator header seems to be wrong in the generated MANIFEST.MF of the bundle "org.eclipse.jetty.ee8.osgi.boot".

The class of the Activator is wrongly named "EE9Activator" and the generated header is: org.eclipse.jetty.ee8.osgi.boot.ee8Activator with lowercase EE.

@claesrosell
Copy link

BTW, I didn't intend to do a complete review, I just happened to press the wrong button when I intended to add some ee8/ee9 comments. Sorry.

@olamy
Copy link
Member Author

olamy commented Oct 12, 2023

BTW, I didn't intend to do a complete review, I just happened to press the wrong button when I intended to add some ee8/ee9 comments. Sorry.

no worries. we are happy to get feedback from real users :)
ah you found a problem in the tool we use for translating sources from ee9 to ee8.
I need to fix the generated class name.

@olamy olamy force-pushed the jetty-12.0.x-ee8-osgi branch from b3785df to 51b4e0e Compare October 12, 2023 21:08
@olamy olamy marked this pull request as draft October 13, 2023 04:16
@olamy
Copy link
Member Author

olamy commented Oct 13, 2023

back to draft as I found some issues

@claesrosell
Copy link

back to draft as I found some issues

Should I await modify-sources-plugin 1.0.8 before testing this?

@olamy
Copy link
Member Author

olamy commented Oct 13, 2023

back to draft as I found some issues

Should I await modify-sources-plugin 1.0.8 before testing this?

yes sorry for that. But this has trigger some more issues :(

@olamy olamy force-pushed the jetty-12.0.x-ee8-osgi branch from e0a0088 to be98f4b Compare October 13, 2023 22:39
@olamy olamy marked this pull request as ready for review October 14, 2023 03:09
@olamy
Copy link
Member Author

olamy commented Oct 14, 2023

@claesrosell problem fixed. feel free to test again. Thanks for reporting the issue!

@olamy olamy requested a review from merks October 14, 2023 04:26
Copy link

@merks merks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, but I don't have the knowledge or skills to actually review the changes.

Only @claesrosell can really confirm if the generated results are correct and functional when used by BIRT...

@claesrosell
Copy link

Sorry, but I don't have the knowledge or skills to actually review the changes.

Only @claesrosell can really confirm if the generated results are correct and functional when used by BIRT...

I will try to test the latest changes and see if I can get the BIRT WebViewer to work.

@olamy
Copy link
Member Author

olamy commented Oct 15, 2023

@merks @claesrosell thanks for your help!
No rush next release will be in 3 weeks ish

@janbartel
Copy link
Contributor

@olamy I don't see any ee8.osgi tests on the CI build for this PR?

@olamy olamy force-pushed the jetty-12.0.x-ee8-osgi branch from be98f4b to 034c8c9 Compare October 16, 2023 06:36
@olamy
Copy link
Member Author

olamy commented Oct 16, 2023

@olamy I don't see any ee8.osgi tests on the CI build for this PR?

@janbartel
yup forgot that. This obviously needs more fix...

the sources doesn't manage such code res.add(mavenBundle().groupId("org.eclipse.jetty.toolchain").artifactId("jetty-javax-servlet-api").versionAsInProject().start());

I need to figure out something different.

@olamy olamy force-pushed the jetty-12.0.x-ee8-osgi branch 2 times, most recently from e49f2a2 to 49a58d9 Compare October 17, 2023 04:18
@olamy olamy marked this pull request as draft October 17, 2023 04:22
@olamy olamy force-pushed the jetty-12.0.x-ee8-osgi branch from e384ce7 to 89ea2f9 Compare October 18, 2023 09:02
olamy and others added 10 commits October 22, 2023 20:24
Signed-off-by: Olivier Lamy <[email protected]>
Signed-off-by: Olivier Lamy <[email protected]>
Signed-off-by: Olivier Lamy <[email protected]>
Signed-off-by: Olivier Lamy <[email protected]>
Signed-off-by: Olivier Lamy <[email protected]>
Signed-off-by: Olivier Lamy <[email protected]>
Signed-off-by: Olivier Lamy <[email protected]>
Signed-off-by: Olivier Lamy <[email protected]>
@olamy olamy force-pushed the jetty-12.0.x-ee8-osgi branch from 1b4b3d6 to 3b8275c Compare October 22, 2023 10:24
olamy and others added 7 commits October 23, 2023 11:45
Signed-off-by: Olivier Lamy <[email protected]>
Signed-off-by: Olivier Lamy <[email protected]>
Signed-off-by: Olivier Lamy <[email protected]>
Signed-off-by: Olivier Lamy <[email protected]>
Signed-off-by: Olivier Lamy <[email protected]>
@olamy olamy marked this pull request as ready for review October 23, 2023 23:33
@olamy
Copy link
Member Author

olamy commented Oct 23, 2023

@merks @claesrosell we plan to merge this soon have a release probably next week

@claesrosell
Copy link

I will work on getting the Birt webviewer working today. The problem as it looks now is that the Birt Webviewer creates a WebAppContext and register it as an OSGI service and that scenario does not seem to be supported by Jetty anymore. So I will probably need to create a web-bundle instead.

@joakime joakime linked an issue Oct 25, 2023 that may be closed by this pull request
@joakime joakime merged commit 8ba5ff1 into jetty-12.0.x Oct 27, 2023
@joakime joakime deleted the jetty-12.0.x-ee8-osgi branch October 27, 2023 01:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

Introduce Jetty 12 ee8 osgi layer
5 participants